package com.smbms.service;

import com.smbms.pojo.User;

import java.sql.SQLException;
import java.util.List;

public interface UserService {

    boolean del(Long id)throws Exception;

    User login(User user) throws SQLException;

    List<User> showAllList()throws Exception;

    boolean addUser(User user)throws Exception;

    boolean updateUser(User user)throws Exception;

   User showUserById(long id) throws Exception;


}
